import request from '@/utils/request'

/**
 * 用户健康上报历史记录
 * @param {*} current 
 * @param {*} size 
 * @param {*} healthVO 
 * @returns 
 */
export function history(current,size,healthVO){
    return request({
        url : '/biz/health/history',
        method: 'post',
        params : {
            current,
            size
        },
        data : healthVO
    })
}

/**
 * 用户健康上报
 * @param {*} healthVO 
 */
export function report(healthVO){
    return request({
        url: '/biz/health/report',
        method: 'post',
        data: healthVO
    })
}

/**
 * 是否报备
 */
export function isReport(){
    return request({
        url: '/biz/health/isReport',
        method: 'get',
    })
}

